<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common_css :: commonHeader('数据列表')"></head>
<body>
<div id="toolbar">
    <shiro:hasPermission name="system:dataql:search">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-search"
           onclick="queryData()">查询</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="system:dataql:update">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-edit"
           onclick="updateData()">修改</a>
    </shiro:hasPermission>
</div>

<div >
    <div style="padding:20px">
        <table cellpadding="2px" cellspacing="0" class="form-table">
            <tr>
                <td colspan="3">
                    <input class="easyui-textbox" name="sql" id="sql"
                           data-options="multiline:true" style="height:150px;width:950px"/>
                </td>
            </tr>
        </table>
    </div>

<div id="dg">  </div>

    <div th:include="common_js :: commJS"></div>
    <script type="text/javascript"
            th:src="@{/js/system/dataql.js}"></script>
</body>
</html>
